package cn.gson.boot.model.mapper;

import cn.gson.boot.model.pojos.Dingdan;
import cn.gson.boot.model.pojos.Jiaofujihua;
import cn.gson.boot.model.pojos.Jiaofujihuaxiangqing;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface JiaoFuJiHuaMapper {
    //查询所有交付计划
    public List<Jiaofujihua> selectAllJiaoFuJiHua(@Param("ddHao") String ddHao,
                                                  @Param("khName") String khName,
                                                  @Param("time") String time,
                                                  @Param("empName") String empName);

    //根据交付计划id查看交付计划
    public Jiaofujihua selectJiaoFuJiHuaByjjId(Integer jjId);

    //根据选择的订单查看此订单交付计划状态为同意的交付计划
    List<Jiaofujihua> fhckddJiaoJi(Integer ddId);


    //根据订单id查看此订单交付计划
    public List<Jiaofujihua> ckJiaofujihuaByDdId(Integer ddId);
    //根据订单id查看此订单交付计划
    public List<Jiaofujihua> ckJiaofujihuaFouJueByDdId(Integer ddId);
}
